package org.example.elm.controller;

import org.example.elm.model.DeliveryAddress;
import org.example.elm.service.DeliveryAddressService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/address")
public class DeliveryAddressController {
    @Autowired
    private DeliveryAddressService deliveryAddressService;
    @RequestMapping("/listByUserId")
    public DeliveryAddress[] listDeliveryAddressByUserId(int userId){
        return null;
    }

    //地址这还暂时缺失一些接口
}
